package com.pethospital.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;

@Data
public class PetDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long id;
    
    @NotBlank(message = "宠物名称不能为空")
    private String name;
    
    @NotBlank(message = "宠物类型不能为空")
    private String type;
    
    private String breed;
    private Integer gender;
    private LocalDate birthDate;
    private BigDecimal weight;
    private String photo;
    private Integer isSterilized;
} 